package com.yikome.storehouse.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

import com.yikome.common.BaseEntity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "s_inventory" , indexes = {@Index(columnList="storehouseId") , @Index(columnList="productSkuBarcode")})
public class Inventory extends BaseEntity {

	private static final long serialVersionUID = -1186705801199784256L;

	private String productName ; 
	
	@Column(length=50)
	private String productSkuBarcode ; 
	
	private String productSkuName ; 
	
	private String productSkuImage ; 
	
	private Integer inventory ; 
	
	private Long storehouseId ;
	
	private String comments ; 
}